/*AyflEomXWyqCHfdTxzWda1e2+xM16UdiCeHmo0c2GDI=*/
/**
 * @ Author: yanxbm
 * @ Create Time: 2021-02-20 15:42:46
 * @ Create by: yanxbm
 * @ Modified by: yanxbm
 * @ Modified time: 2021-02-25 15:21:56
 * @ Description: 安全的PRNG
 */

const getRandom = () => {
    if(!window.crypto && (window).msCrypto){
        (window).crypto = (window).msCrypto;
    }
    return window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967296;
}
export default getRandom;
/*AyflEomXWyqCHfdTxzWda1e2+xM16UdiCeHmo0c2GDI=*/
